package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Order;
import com.itheima.domain.Traveller;

import com.itheima.domain.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderService {
    PageInfo<Order> findAll(int page, int size);

    Map findById(String id, String pId);

    void deleteByCheck(String[] ids);

    void deleteByCheckInOP(String[] ids);


    List<Traveller> findTraveller(String id);

    Member findMember(String memberId);

    void updateStatus(String id, String orderStatus);
}
